/*
 * table_valueInfo.h
 *
 *  Created on: 2012/04/24
 *      Author: guanxiaoying
 */

#ifndef TABLE_VALUEINFO_H_
#define TABLE_VALUEINFO_H_


typedef struct {
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	BOOL (*copy)( AST, AST, AST );
	AST  (*getMax)( VOID );
	AST  (*addValue)(PVALUEINFO);
	ACCESS_IDX_FIELD type;
	ACCESS_S2_FIELD s2value;
	ACCESS_U2_FIELD u2value;
	ACCESS_U4_FIELD u4value;
	ACCESS_S4_FIELD s4value;
	ACCESS_U8_FIELD u8value;
	ACCESS_S8_FIELD s8value;
	ACCESS_DOUBLE_FIELD dvalue;
}VALUEINFO_ACCESS;
extern const VALUEINFO_ACCESS stValueInfoAccess;

#endif /* TABLE_VALUEINFO_H_ */
